package vooga.behaviors;

import vooga.entities.Entity;

/**
 * Makes an Entity bounce down
 * @author congyiwu
 *
 */
public class BounceDownBehavior extends AbstractBehavior
{
	public void step(Entity target) {
		vooga.geom.Vector v = target.getVelocity();
		v.setYChange(Math.abs(v.getYChange()));
		target.removeBehavior(this);
	}
}
